-
Notifications
You must be signed in to change notification settings - Fork 39
GH-587: shnex:nodesWhere node expression #611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
May I get some feedback on this PR please? |
See comments on the issue about naming. "nodesWhere" does not lead to a natural syntax in the rule language. "match", as originally proposed, does. |
shacl12-vocabularies/shnex.ttl
Outdated
| . | ||
|
|
||
|
|
||
| # Nodes Where Expressions ----------------------------------------------------- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If every Nodes Where is case-sentively replaced with Nodes Matching, I think @afs will be satisfied, and general comprehension improved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@afs would shnex:nodesMatching work for you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
recalcitrantsupplant
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me.
shacl12-node-expr/index.html
Outdated
| </aside> | ||
| <p> | ||
| The interpretation of <code>shnex:nodesMatching</code> is similar to <code>sh:targetWhere</code>. | ||
| The main differences are that <code>sh:targetMatching</code> is part of SHACL Core and that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be sh:targetWhere instead of sh:targetMatching.
Changed sh:targetMatching to sh:targetWhere.
robert-david
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed sh:targetMatching to sh:targetWhere.
* #587: Added shnex:where * Formatting (including unrelated examples) * Renamed from shnex:where to shnex:nodesWhere * Applied PR feedback * Renamed nodesWhere to nodesMatching * Update index.html Changed sh:targetMatching to sh:targetWhere. --------- Co-authored-by: Robert David <[email protected]>
Closes #587
The PR is large because it includes some fixes to the layout of various examples (tabs vs spaces, aligned use of blocks).